package com.panhu.yidianmall.member.feign;

import com.panhu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("yidianmall-coupon")  //要调用哪个服务的服务名
public interface CouponFeignService {
    //调用远程服务里的哪一个远程请求
    @RequestMapping("coupon/coupon/member/list")
    public R membercoupons();
}
